<form action="<?php echo $this->site['base_url']?>admin_inventory/save" method="post">
<table cellspacing="0" cellpadding="0" class="title">
  <tr >
    <td class="title_label"><?php echo Kohana::lang('inventory_lang.tt_page') ?></td>
    <td align="right">
    <button type="button" name="btn_back" class="button back" onclick="location.href='<?php echo $this->site['base_url']?>admin_inventory/search'">
    <span><?php echo Kohana::lang('admin_lang.btn_back')?></span>
    </button>
    &nbsp;
    <button type="submit" name="btn_submit" class="button save" />
    <span><?php echo Kohana::lang('admin_lang.btn_save')?></span>
    </button>
    </td>
  </tr>
</table>
<table class="form" align="center" cellspacing="0" cellpadding="5">
	<tr>
    	<td><?php echo Kohana::lang('product_lang.lbl_id')?>: <font color="#FF0000">*</font></td>
    	<td><input type="text" name="txt_id" id="txt_id" size="30" value="<?php echo isset($mr['products_id'])?$mr['products_id']:''?>"/></td>
  	</tr>
	<tr>
    	<td width="15%"><?php echo Kohana::lang('product_lang.lbl_serial_number')?>:</td>
    	<td><input type="text" name="txt_serial_number" id="txt_serial_number" size="30" value="<?php echo isset($mr['products_serial_number'])?$mr['products_serial_number']:''?>"/></td>
  	</tr>    
	<tr>
    	<td><?php echo Kohana::lang('product_lang.lbl_name')?>: <font color="#FF0000">*</font></td>
    	<td><input type="text" name="txt_name" id="txt_name" size="30" value="<?php echo isset($mr['products_name'])?$mr['products_name']:''?>"/></td>
  	</tr>     
    <tr>
    	<td><?php echo Kohana::lang('inventory_lang.lbl_price')?>:</td>
    	<td><input type="text" name="txt_price" id="txt_price" class="text_number" size="10" value="<?php echo isset($mr['products_price'])?$mr['products_price']:''?>"/></td>
  	</tr>
    <tr>
    	<td><?php echo Kohana::lang('product_lang.lbl_qty')?>: <font color="#FF0000">*</font></td>
    	<td><input type="text" name="txt_qty" id="txt_qty" class="text_number" size="10" value="<?php echo isset($mr['products_qty'])?$mr['products_qty']:'1'?>"/></td>
  	</tr>
    <tr>
    	<td><?php echo Kohana::lang('product_lang.lbl_weight')?>:</td>
    	<td><input type="text" name="txt_weight" id="txt_weight" class="text_number" size="10" value="<?php echo isset($mr['products_weight'])?$mr['products_weight']:''?>"/></td>
  	</tr>
    <tr>
    	<td><?php echo Kohana::lang('inventory_lang.lbl_vendor_name')?>:</td>
    	<td><input type="text" name="txt_vendor_name" id="txt_vendor_name" size="30" value="<?php echo isset($mr['vendors_name'])?$mr['vendors_name']:''?>"/></td>
  	</tr>
    <tr>
    	<td valign="top"><?php echo Kohana::lang('inventory_lang.lbl_remark')?>:</td>
    	<td><textarea name="txt_remark" id="txt_remark" cols="30" rows="3" value="<?php echo isset($mr['inventory_remark'])?$mr['inventory_remark']:''?>"></textarea></td>
  	</tr>
	<tr>
		<td>&nbsp;</td>
		<td><input type="hidden" name="hd_id" id="hd_id" value="<?php if(isset($mr['inventory_id'])) echo $mr['inventory_id']?>"/></td>
    </tr>
</table>
</form>
<script language="javascript" src="<?php echo $this->site['base_url']?>plugins/popup.js"></script>